package com.hxs.hxsserver.domain.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author liuchuan
 * @create 2024/9/21
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("修改用户信息参数")
public class UpdateUserDTO {
    @ApiModelProperty(value = "用户唯一标识")
    private Integer id;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String mobile;
    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称")
    private String userName;

    @ApiModelProperty(value = "密码")
    private String password;
    /**
     * 登录名
     */
    @ApiModelProperty(value = "登录名")
    private String loginName;

    /**
     * 性别 0未设置 1男 2女
     */
    @ApiModelProperty(value = "性别 0未设置 1男 2女")
    private Integer userSex;
    /**
     * 生日
     */
    @ApiModelProperty(value = "生日")
    private String birthday;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 角色
     */
    @ApiModelProperty(value = "角色id")
    private Integer roleId;

    /**
     * 菜单
     */
    @ApiModelProperty(value = "菜单，多个逗号隔开")
    private String menus;
}
